MuleSoft Accelerator for Retail icon

MuleSoft Accelerator for Retail

(0 reviews)

Use case 1a - Customer profile sync from B2C Commerce

Overview

This use case is an extension of use case 1. It records updates published from B2C Commerce via the sync cartridge into MDM and other downstream systems.

Before you begin

bulb.png The Accelerators setup guide provides general information on getting started with the accelerator components. This includes instructions on setting up your local workstation for configuring and deploying the applications.

High-level architecture

retail-customer-sync-from-b2c-architecture.png

Workflow

  1. The use case is triggered when

    • A customer profile is created or updated in B2C Commerce
    • A customer profile is created in B2C Commerce during the order checkout process
  2. A sync cartridge invokes the B2C Commerce Experience API with the customer profile data.

  3. The B2C Commerce Experience API converts the customer profile data to the CIM format and places it in a queue
  4. The Customers Process API consumes the message from the queue and orchestrates the following by invoking the appropriate system APIs for each system:

    • Create or update the customer profile in MDM with an associated master ID.
    • Create or update the customer profile in Marketing Cloud with an external ID that links to the master ID in MDM.
    • Create or update the customer profile in SAP ECC with an external ID that links to the master ID in MDM.
    • Create or update the customer profile in Salesforce core (includes Sales Cloud, Service Cloud and B2B Commerce) with an external ID that links to the master ID in MDM.
    • Update the customer profile in MDM with a list of external IDs that link the customer to their corresponding profiles in B2C Commerce, Marketing Cloud, Salesforce Sales Cloud, Salesforce Service Cloud, B2B Commerce and SAP ECC
    • Update B2C Commerce with the master ID from MDM if it was not part of the customer data from step 2

Sequence diagram

retail-customer-sync-from-b2c-sequence.png

Systems involved

  • B2C Commerce
  • Marketing Cloud
  • MDM
  • SAP ECC
  • Salesforce

Setup instructions

B2C Commerce configuration

Setup B2C Commerce with the sync cartridge to invoke the B2C Commerce Experience API when a customer profile is created or updated. The custom cartridge needs to be properly installed in the active site by a qualified B2C administrator or developer.

SAP Configuration

Follow the Custom BAPI setup instructions.

Salesforce configuration

Follow the setup instructions in the README file in the Salesforce Customers System API to create custom fields and enable Person Accounts.

Marketing Cloud configuration

Please see setup instructions in the README file in the Salesforce Marketing System API.

MDM configuration

Follow the setup instructions in the README file in the MDM System API.

Mule projects

Accelerator System APIs

Accelerator Process APIs

Accelerator Experience APIs

Custom components

  • B2C Commerce Sync Cartridge | Source

Reviews

TypeCustom
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onMay 10, 2021
Contact nameMuleSoft Solutions
Contact emailsolutions-questions@mulesoft.com
Asset overview

Asset versions for 2.0.x

Asset versions
VersionActions
2.0.0